<?php


namespace apps\marriage\core\service;


use apps\marriage\core\model\ActivityMember;
use vm\com\BaseModel;
use vm\com\BaseService;

class ActivityMemberService extends BaseService
{

    /**
     * @return ActivityMember
     */
    protected function getModel()
    {
        return new ActivityMember();
    }

    public function create(array $data)
    {
        $data['apply_time'] = time();
        return parent::create($data);
    }
}